.client-management-page {
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* 搜索容器 */
.search-container {
  padding: 20rpx;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 8rpx;
  padding: 0 20rpx;
  height: 80rpx;
}

.search-input {
  flex: 1;
  height: 100%;
  background-color: transparent;
  border: none;
  font-size: 28rpx;
  margin: 0 12rpx;
  color: #333;
}

.search-input::placeholder {
  color: #999;
}

/* 标签栏 */
.tab-scroll {
  background-color: #fff;
}

.tab-bar {
  display: flex;
  padding: 16rpx 0;
}

.tab {
  padding: 12rpx 32rpx;
  margin: 0 12rpx;
  border-radius: 20rpx;
  background-color: #f5f5f5;
}

.tab.active {
  background-color: #1890ff;
}

.tab-text {
  font-size: 28rpx;
  color: #666;
}

.tab.active .tab-text {
  color: #fff;
  font-weight: bold;
}

/* 加载状态 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300rpx;
}

/* 列表滚动 */
.client-scroll {
  flex: 1;
}

/* 客户项 */
.client-item {
  background-color: #fff;
  margin: 16rpx;
  border-radius: 12rpx;
  padding: 20rpx;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-info {
  display: flex;
}

.client-avatar {
  width: 120rpx;
  height: 120rpx;
  border-radius: 50%;
  margin-right: 20rpx;
  border: 2rpx solid #e0e0e0;
}

.client-details {
  flex: 1;
}

.client-header {
  display: flex;
  align-items: center;
  margin-bottom: 8rpx;
}

.client-name {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-right: 12rpx;
}

.client-status {
  padding: 4rpx 12rpx;
  border-radius: 10rpx;
}

.status-text {
  font-size: 20rpx;
  color: #fff;
  font-weight: bold;
}

.client-phone {
  font-size: 26rpx;
  color: #666;
  margin-bottom: 8rpx;
}

.client-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8rpx;
}

.meta-item {
  font-size: 24rpx;
  color: #999;
  margin-right: 20rpx;
  margin-bottom: 4rpx;
}

.client-notes {
  font-size: 26rpx;
  color: #333;
  margin-bottom: 8rpx;
  line-height: 1.4;
}

.last-contact {
  font-size: 24rpx;
  color: #999;
}

/* 联系按钮 */
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1890ff;
  color: #fff;
  margin-top: 20rpx;
  padding: 12rpx;
  border-radius: 8rpx;
}

.contact-btn-text {
  font-size: 28rpx;
  font-weight: bold;
  margin-left: 8rpx;
}

/* 空状态 */
.empty-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100rpx 0;
}

.empty-text {
  font-size: 28rpx;
  color: #999;
  margin-top: 20rpx;
}